﻿using System;

namespace WebFormsMvp.Contrib.Data.Models
{
    /// <summary>
    /// Defines a News Article which will be used within the <see cref="WebFormsMvp.Contrib.Data.Services.INewsService"/>
    /// </summary>
    public interface INewsArticle
    {
        /// <summary>
        /// Gets or sets the headline/ title of the article.
        /// </summary>
        /// <value>The headline.</value>
        string Headline { get; set; }
        /// <summary>
        /// Gets or sets the short description/ blurb
        /// </summary>
        /// <value>The short description.</value>
        string ShortDescription { get; set; }
        /// <summary>
        /// Gets or sets the body.
        /// </summary>
        /// <value>The body.</value>
        string Body { get; set; }
        /// <summary>
        /// Gets or sets the published date.
        /// </summary>
        /// <value>The published date.</value>
        DateTime PublishedDate { get; set; }
        /// <summary>
        /// Gets or sets the link.
        /// </summary>
        /// <value>The link.</value>
        Uri Link { get; set; }
        /// <summary>
        /// Gets or sets the author.
        /// </summary>
        /// <value>The author.</value>
        string AuthorName { get; set; }
    }
}
